Efficient multivariate statistical techniques for extracting secrets from electronic devices

نویسنده

  • Marios O. Choudary
چکیده

In 2002, Suresh Chari, Rao Josyula and Pankaj Rohatgi presented a very powerful method, known as the Template Attack, to infer secret values processed by a microcontroller, by analysing its power-supply current, generally known as its side-channel leakage. This attack uses a profiling step to compute the parameters of a multivariate normal distribution from the leakage of a training device, and an attack step in which these parameters are used to infer a secret value (e.g. cryptographic key) from the leakage of a target device. This has important implications for many industries, such as pay-TV or banking, that use a microcontroller executing a cryptographic algorithm to authenticate their customers. In this thesis, I describe efficient implementations of this template attack, that can push its limits further, by using efficient multivariate statistical analysis techniques. Firstly, I show that, using a linear discriminant score, we can avoid some numerical obstacles, and use a large number of leakage samples to improve the attack, while also drastically decreasing its computation time. I evaluate my implementations on an 8-bit microcon-troller, using different compression methods, including Principal Component Analysis (PCA) and Fisher's Linear Discriminant Analysis (LDA), and I provide guidance for the choice of attack algorithm. My results show that we can determine almost perfectly an 8-bit target value, even when this value is manipulated by a single LOAD instruction. Secondly, I show that variability caused by the use of either different devices or different acquisition campaigns can have a strong impact on the performance of these attacks. Using four different Atmel XMEGA 256 A3U 8-bit devices, I explore several variants of the template attack to compensate for this variability, and I show that, by adapting PCA and LDA to this context, we can reduce the entropy of an unknown 8-bit value to below 1.5 bits, even when using one device for profiling and another one for the attack. Then, using factor analysis, I identify the main factors that contribute to the correlation between leakage samples, and analyse the influence of this correlation on template attacks. I show that, in some cases, by estimating the covariance matrix only from these main factors, we can improve the template attack. Furthermore, I show how to use factor analysis in order to generate arbitrary correlation matrices for the simulation of leakage traces that are similar to the real leakage. Finally, I show how to implement PCA and LDA efficiently …

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Behavioral Modeling and Simulation of Semiconductor Devices and Circuits Using VHDL-AMS

During the past few years, a lot of work has been done on behavioral models and simulation tools. But a need for modeling strategy still remains. The VHDL-AMS language supports the description of analog electronic circuits using Ordinary Differential Algebraic Equations (ODAEs), in addition to its support for describing discrete-event systems. For VHDL-AMS to be useful to the analog design ...

متن کامل

Algorithms for Finding Multivariate Discriminant Rules for Classification and Regression Trees

Progress in technologies for data input, such as POS (Point Of Sales) systems, and technologies for data storage, such as high density magnetic or optical recording devices, have made it easier for enterprises to collect massive amounts of data and to store them on hard disk at a very low cost. From the early 90’s, many enterprises have been interested in extracting previously unnoticed informa...

متن کامل

Non-invasive Optical Techniques for determination of blood Glucose levels: A Review Article

This article reviews the development of non-invasive optical techniques for determination of blood glucose concentrations in diabetic patients. Early diagnosis and daily management are essential for ensuring the healthy life of diabetic patients. The determination of blood glucose concentration with common devices involves the chemical analysis of blood samples, which are obtained by pricking t...

متن کامل

Experimental and Numerical Investigations on Al2O3–Tricosane Based Heat Pipe Thermal Energy Storage

The enhancement of operating life cycle of electronic devices necessitates the development of efficient cooling techniques. Therefore, in the present work the effects of employment of Phase Change Material, in the adiabatic section of heat pipe for electronic cooling applications were experimentally and numerically investigated. Tricosane (100 ml) is chosen as PCM in this study, where Al2O3 nan...

متن کامل

Least Squares Techniques for Extracting Water Level Fluctuations in the Persian Gulf and Oman Sea

Extracting the main cyclic fluctuations from sea level changes of the Persian Gulf and Oman Sea is vital for understanding the behavior of tides and isolating non-tidal impacts such as those related to climate and changes in the ocean-sea circulations. This study compares two spectral analysis methods including: Least Squares Spectral Analysis (LSSA) and Least Squares Harmonic Estimation (LSHE)...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2015